#-------------------------------------------------
#
# Project created by QtCreator 2024-11-19T17:26:39
#
#-------------------------------------------------

QT       += core gui
greaterThan(QT_MAJOR_VERSION, 4): QT += widgets

TARGET = untitled
TEMPLATE = app

# The following define makes your compiler emit warnings if you use
# any feature of Qt which has been marked as deprecated (the exact warnings
# depend on your compiler). Please consult the documentation of the
# deprecated API in order to know how to port your code away from it.
DEFINES += QT_DEPRECATED_WARNINGS

# You can also make your code fail to compile if you use deprecated APIs.
# In order to do so, uncomment the following line.
# You can also select to disable deprecated APIs only up to a certain version of Qt.
#DEFINES += QT_DISABLE_DEPRECATED_BEFORE=0x060000    # disables all the APIs deprecated before Qt 6.0.0

CONFIG += c++11

SOURCES += \
    examples/mainwindow/mainwindow.cpp \
    examples/mainwindow/main.cpp \
    examples/shared/widgetframe/windowbutton.cpp \
    examples/shared/widgetframe/windowbar.cpp \
    src/widgets/widgetwindowagent.cpp \
    src/widgets/widgetitemdelegate.cpp \
    src/core/style/styleagent_linux.cpp \
    src/core/style/styleagent.cpp \
    src/core/kernel/nativeeventfilter.cpp \
    src/core/kernel/winidchangeeventfilter.cpp \
    src/core/kernel/sharedeventfilter.cpp \
    src/core/qwkglobal.cpp \
    src/core/windowagentbase.cpp \
    src/core/contexts/qtwindowcontext.cpp \
    src/core/contexts/abstractwindowcontext.cpp \
    src/core/windowitemdelegate.cpp


HEADERS += \
    examples/mainwindow/mainwindow.h \
    examples/shared/widgetframe/windowbar.h \
    examples/shared/widgetframe/windowbar_p.h \
    examples/shared/widgetframe/windowbutton.h \
    examples/shared/widgetframe/windowbutton_p.h \
    src/widgets/widgetwindowagent_p.h \
    src/widgets/qwkwidgetsglobal.h \
    src/widgets/widgetwindowagent.h \
    src/widgets/widgetitemdelegate_p.h \
    src/core/qwindowkit_linux.h \
    src/core/style/styleagent_p.h \
    src/core/style/styleagent.h \
    src/core/kernel/nativeeventfilter_p.h \
    src/core/kernel/winidchangeeventfilter_p.h \
    src/core/kernel/sharedeventfilter_p.h \
    src/core/qwkglobal.h \
    src/core/shared/systemwindow_p.h \
    src/core/shared/windows10borderhandler_p.h \
    src/core/shared/qwkwindowsextra_p.h \
    src/core/windowagentbase.h \
    src/core/windowagentbase_p.h \
    src/core/windowitemdelegate_p.h \
    src/core/contexts/qtwindowcontext_p.h \
    src/core/contexts/abstractwindowcontext_p.h \
    src/core/qwkglobal_p.h \


#FORMS += \
#        mainwindow.ui
RESOURCES += \
    examples/mainwindow/mainwindow.qrc \
examples/shared/resources/shared.qrc
# Default rules for deployment.
qnx: target.path = /tmp/$${TARGET}/bin
else: unix:!android: target.path = /opt/$${TARGET}/bin
!isEmpty(target.path): INSTALLS += target
